
using System;

namespace LightScribe
{
	public class LightScribeException : Exception
	{	
		public Error Error;
		
		public LightScribeException(Error error)
		{
			Error = error;
		}
		
		public override string ToString ()
		{
			//FIXME:get text from ErrorCode.cs
			return string.Format("[LightScribeException: {0}]", Error);
		}
	}
}
